import request from '../../utils/request'

export function tableData<T>(data: unknown) {
  return request<List<T>>({
    url: '/measure/page',
    method: 'POST',
    data
  })
}

export function upload<T>(data: unknown) {
  return request<T>({
    url: '/memorandum/importMeasureInfo',
    method: 'POST',
    data,
    requestType: 'blob'
  })
}
